moved templates inside js folder