added compileFiles
fixed private var location in jquery plugin template