converted to backbone app using handlebar templates