add javascript constants
add task creation to main.js