Merged js functions. Buggy server online since feature.