A JavaScript package porter