update player js from coffee