<script src="app.js"></script> Should work in all browsers, at least on windows. It just looks for app.js relative to the root html file.