Quick javascript fix