Moved javascript to app assets