jsp to js bridge