core polyworks js library