Hello Sunil,
I would suggest that you post this in a new thread, to many questions related to different topics in one single thread are confusing especially when this thread is from August last year.
For the JS problem, take a look to SAP Note 1835880, this should help to get more details what is going wrong. Also you should check the <SID>_JSAGENT.log if this will help to get closer details to the problem.
Regards
Stefan