separate calculator JS