how to open JavaScript file in developer tools while preview