use gon to pass variable into js

This is an alternative for #10. If we will have more than one variable passed into JS (or even specific variable for specific view) than is can be useful.