Core JavaScript library for WISDM