Added constructor for a element with script
Added constructor with script
Added constructor for script
Added comments and fixed a bug
Removed and added comments