- removed library autosize
* refactored JS code into CS code