fixed bug in droppable, and sepearted some js code into story_parts.js