Moved js demo code to a folder