Merge pull request #891 from r8k/master

update test.success event
check javascriptEnabled status in the page

 * checks javascriptEnabled status, before `evaluating` JS
 * fixes #841
remove method:javascriptEnabled

 * per review comments, remove unnecessary method:javascriptEnabled
Merge pull request #892 from r8k/841

check javascriptEnabled status in the page