for java script 

optimize your script