Simple mindworks javascript base library