js working better, text middle for main text