move inclusion of app.js into head
add serializer info to rails reference