Loading javascript from app.js instead of embedded