Moved id to word function to wordmodel, where it belongs
fixed a protected to public

made the game work with ajax