Fixed sourcemap issues. Automated proper sourcemap linking.