Add jquery; modify style and template