fixed js mimetype etc