Add javascript tasks, without refactoring