Lang routing function has been replaced from JS to Jade