Fix strict standard warnings, js sorter bug, html control kses removing link tag