js calculator file