Javascript Server Fix