correct js assets path
fix ajax loading controller