Converts the home view to use the @Path directive when loading the javascript bits.