More JS port stuff and textarea tester