Game framework based on jQuery