Got rid of the hold over js from the template