Python View Object Attributes Javascript Editor Code