added javascript for adding of player fields, and lnked to edit page