removed style
remoced class
refactored js
new class
pulleft right functions
defaultvalues
decider function
ethods with lovcal variables
removed comments
refactored new functions
refactored methods
it works finally