A simple javascript mechanics & physics framework