added object testing for js and jquery