working on curl stuff
server js moded