exclude javascript from view file