moved js out of index
namespaced player
refactored build function
two way bindings