 "use strict"
 # things assigned to root will be available outside this module
 root = exports ? this.codeland = {}
+
+deepcopy = (src) -> $.extend(true, {},src)
+
+#IE Support ....
+console ?= {}
+console.log ?= ->
+
+
 
 
 # BACKEND Methods useful for all games

        }
    }

deepcopy = (src) -> $.extend(true, {},src)


_sequence1 = {

#Updates the player data  
root.storeGameCompletionData = (key,data) ->
    throw new Error("Cannot be null") unless val? && data?
    updatePlayer( (p)-> p.games[key] = data )

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

       
root.getPlayer = ->
    @currentPlayer ?= root.load("CurrentPlayer")
    @currentPlayer ?= {
        id : +(new Date())
        currentGame : ''
        first : ''
        last : ''
        avator : 'generic'
        games : {
            java1a : {
