Python Dynamically Add Attribute Using Jquery