Now having to initialize javascript manually