Point & Click engine in JS