fix instance variable set at application controller, change js to load body