Sure, that is possible if you want to spend the time wrapping every function in your code with a try/catch block. Most people don't, and so we provide automatic code instrumentation. You can't just wrap your js file in a single try/catch.
My transition from sitting to standing took a little less than a month to get used to. I would recommend placing your desk next to a wall so you have something to lean on. It is a great way to prolong your standing time when starting the transition.
As for initial discomfort it was fairly minimal. In fact I soon began to appreciate the soreness as it allowed me to fall asleep faster as well as improving the quality of my sleep.
I have been using a standing desk for almost a year now. I would recommend the Utby from Ikea for a more economical and permanent solution. My current Utby setup: http://post.ly/2hqhN
https://www.goat.com https://www.stadiumgoods.com