Add js for nice transitions.