Put JavaScript Code To The Correct View File