js parser change for bookmarklet and drop page