Fixed dynamic javascript