filter default package main to only js files

closes #70