Add encodeing service (js) and update database