Forgot to include js files in html. Now its starting to work