restored js resources for demo