Added verification of javascript