gem swapper project using the game closure sdk, written in javascript