JS splash fix