pass params to jade & JS