commtting changes to player

jade
css
adding stateFunctionMap