Added init function to playerL2.js