Fixes javascript.