use lambda char for function keyword in javascript, fix ns imports