Micro javascript template parser