Add some JS hacks to home page controller also