impress hacks to make it work in proper js application