Making js magically load