removed hardcoded links to app_dev.php, introduced compilation of javascript in prod mode