Addition In Javascript With User Input Matlab