Finishing JS and CSS functionality