Removed tab func from php

Added it js
Started editor field
CSS for editor field
Put common script to last

Has to initialise after the others