finished js app template