removes duplicated file case statement

there seems to be duplicated case statement in jslint...