classic-ui: javascript cleanup and common.lib added #4324

* common functions got moved to common_functions.js
* showlog and notifications got also "blind" effect for time picker
* fixes bug 4233 "scroll" as well.

fixes: #4324
fixes: #4233
Merge branch 'fix/javascript-cleanup-4324' into next