 root.load = (key) ->
     val = root.getString key
     return null unless val?
-    result = jQuery.parseJSON (val)
+    result = JSON.parse val
     return result if result?
-    throw new Error("Could not parse "+val)
-
-root.store = (key,val) ->
+    throw new Error("Could not parse " + val)
+
+root.store = (key, val) ->
     throw new Error("Value must exist") unless val ?
-    root.setString(key, jQuery.toJSON(val) )
+    root.setString(key, JSON.stringify val)
 
 #Updates the player data
 root.storeGameCompletionData = (key, data) ->

    }

root.updatePlayer = (callback) ->
    player  = root.getPlayer()
    callback(player)
    root.store("CurrentPlayer", player)
    return


_sequence1 = {
    name : 'Code Sequence Puzzle #1'


root.getGame = ->
    return getPlayer().currentGame

root.getPlayer = ->
    @currentPlayer ?= root.load("CurrentPlayer")
