Initial javascript tests