package of elements for games in javascript