moved js to own folder. more prototyping for new export functionality