How to display the abstract with javascript
One way you can do it is with the field group module.

You can go to the display settings of your content type and add a group, set it as a div or fieldset, depending on what you want it to look like, and set it as collapsed.

That is probably the easiest way.