Fixed javascript configuration errors