added javascript for nice categories alignment