Dumping js vars in layout template