Fix double JS file declaration